package cn.ipenta.jkb.web.vo;

import javax.validation.constraints.DecimalMin;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

public class ApplyVo {

	@NotEmpty(message = "家长ID不能为空")
	private String customerid;

	@NotEmpty(message = "申请类别不能为空")
	private String type;

	@DecimalMin(value="0.00",message="请务必输入数值")
	@NotEmpty(message = "申请金额不能为空")
	private String num;

	@NotEmpty(message = "孩子姓名不能为空")
	private String childname;

	@NotEmpty(message = "孩子生日不能为空")
	private String childbirthday;

	@NotEmpty(message="孩子性别不能为空")
	@Length(max = 1, message = "孩子性别不正确")
	private String childgender;

	public String getCustomerid() {
		return customerid;
	}

	public void setCustomerid(String customerid) {
		this.customerid = customerid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getChildname() {
		return childname;
	}

	public void setChildname(String childname) {
		this.childname = childname;
	}

	public String getChildbirthday() {
		return childbirthday;
	}

	public void setChildbirthday(String childbirthday) {
		this.childbirthday = childbirthday;
	}

	public String getChildgender() {
		return childgender;
	}

	public void setChildgender(String childgender) {
		this.childgender = childgender;
	}

}
